package com.lingyuan.oms.domain;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @ClassName：OrderOperateHistoryEntity
 * @Author: LeiHao
 * @Date: 2024/9/18 10:12
 * @Description: 订单操作历史记录实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "oms_order_operate_history")
public class OrderOperateHistoryEntity {


    /**
     * id
     */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;
    /**
     * 订单id
     */
    private Long orderId;
    /**
     * 操作人[用户；系统；后台管理员]
     */
    @TableField(fill = FieldFill.INSERT,value = "operateMan")
    private String operateMan;
    /**
     * 操作时间
     */
    @TableField(fill = FieldFill.INSERT,value = "createTime")
    private Date createTime;
    /**
     * 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
     */
    private Integer orderStatus;
    /**
     * 备注
     */
    private String note;













}
